package net.yambal.mobile.adv
{
	public class ADV_Paragraph
	{
		
		public var id:String;
		public var next_chapter_id:String;
		public var next_paragraph_id:String;
		public var items:Array = new Array();
		
		public function ADV_Paragraph(_id:String, _next_chapter_id:String, _next_paragraph_id:String)
		{
			id = _id;
			
			if(_next_chapter_id != null && _next_chapter_id.length != 0){
				next_chapter_id = _next_chapter_id;
			}
			if(_next_paragraph_id != null && _next_paragraph_id.length != 0){
				next_paragraph_id = _next_paragraph_id;
			}
		}
		
		public function addItem(item:IADV_ParagraphItem):void{
			items.push(item);
		}
		
		
	}
}